package com.nbot.common.domain;

import java.io.Serializable;

/**
 * 语音查询结果显示类
 */
public class SearchResult implements Serializable {
    private static final long serialVersionUID = -6580361940354042810L;
    /**
     * 读取opc数据点的描述信息
     */
    private String dispdesc;
    /**
     * 读取opc数据点的值（结果值）
     */
    private String result;

    public SearchResult() {
    }

    public SearchResult(String dispdesc, String result) {
        this.dispdesc = dispdesc;
        this.result = result;
    }

    public String getDispdesc() {
        return dispdesc;
    }

    public void setDispdesc(String dispdesc) {
        this.dispdesc = dispdesc;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "SearchResult{" +
                "dispdesc='" + dispdesc + '\'' +
                ", result='" + result + '\'' +
                '}';
    }
}
